Update Cargo.lock #73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy to Github Pages | |
on: | |
schedule: | |
- cron: '0 1 * * 0' | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: | |
contents: write | |
pages: write | |
id-token: write | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup default nightly | |
- run: rustup target add wasm32-unknown-unknown | |
- uses: jetli/[email protected] | |
with: | |
version: 0.2.87 | |
- uses: denoland/setup-deno@v1 | |
- run: make update | |
- run: make release | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Built static/ | |
commit_user_name: BlackAsLight | |
commit_user_email: [email protected] | |
- uses: actions/configure-pages@v3 | |
- uses: actions/upload-pages-artifact@v1 | |
with: | |
path: 'static/' | |
- id: deployment | |
uses: actions/deploy-pages@v2 |