This commit is contained in:
parent
1678bc0b99
commit
e93862478d
1 changed files with 27 additions and 0 deletions
27
.github/workflows/ci.yaml
vendored
Normal file
27
.github/workflows/ci.yaml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
name: ci
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- kanglam-branding
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- kanglam-branding
|
||||||
|
jobs:
|
||||||
|
build_and_publish:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: ghcr.io/catthehacker/ubuntu:runner-24.04
|
||||||
|
steps:
|
||||||
|
- run: sudo apt update && sudo apt install -y tar ruby
|
||||||
|
- run: sudo gem install rake -v 13.3.1
|
||||||
|
- run: sudo gem install bundler
|
||||||
|
- run: sudo gem install jekyll
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- run: bundle install
|
||||||
|
- run: bundle exec jekyll build -d output
|
||||||
|
- run: tar cvfz kanglam-ui.tar.gz ./output/*
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
curl -H "Authorization: token ${{ secrets.PACKAGE_TOKEN }}" -X DELETE "https://guardianproject.dev/api/packages/butter/generic/butter-kanglam-ui/latest"
|
||||||
|
- run: |
|
||||||
|
curl -H "Authorization: token ${{ secrets.PACKAGE_TOKEN }}" -X PUT --upload-file dendrite-arm64.tar.gz https://guardianproject.dev/api/packages/butter/generic/butter-kanglam-ui/latest/kanglam-ui.tar.gz
|
||||||
Loading…
Add table
Add a link
Reference in a new issue