1f349.com/.github/workflows/build.yml
2023-07-16 18:18:55 +01:00

18 lines
427 B
YAML

name: Build/release
on: push
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v1
- name: Archive
run: tar -czvf upload.tar.gz -C . *
- name: Release
run: 'curl -X POST -H "Authorization: Bearer ${{ secrets.DEPLOY }}" -F "upload=@upload.tar.gz" "https://sites.1f349.net/u?site=1f349.net&branch=${{ github.ref_name }}"'