Skip to content

Commit

Permalink
feat: auto deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
KawaiiZapic committed May 13, 2024
1 parent bffc1d3 commit 3baa739
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ jobs:
run: mkdir Matecho && mv dist Matecho/Matecho

- name: Upload artifact
id: artifact-upload
uses: actions/upload-artifact@v4
with:
name: Matecho-${{ github.sha }}
path: Matecho
- name: Update deployment
run: "curl -H 'X-Authorization: ${{ secrets.update_access_token }}' https://matecho-dev.zapic.moe/index.php/UpdateMatecho?artifact_id=${{ steps.artifact-upload-step.outputs.artifact-id }}"

0 comments on commit 3baa739

Please sign in to comment.