Mercurial > web
annotate .github/workflows/static.yml @ 49:a6838983b232
js: Update libopenmpt to 0.6.6
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 14 Dec 2022 16:29:43 -0500 |
parents | 09fffbf82d4f |
children |
rev | line source |
---|---|
48
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
1 # Simple workflow for deploying static content to GitHub Pages |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
2 name: Deploy static content to Pages |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
3 |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
4 on: |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
5 # Runs on pushes targeting the default branch |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
6 push: |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
7 branches: ["master"] |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
8 |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
9 # Allows you to run this workflow manually from the Actions tab |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
10 workflow_dispatch: |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
11 |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
12 # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
13 permissions: |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
14 contents: read |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
15 pages: write |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
16 id-token: write |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
17 |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
18 # Allow one concurrent deployment |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
19 concurrency: |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
20 group: "pages" |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
21 cancel-in-progress: true |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
22 |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
23 jobs: |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
24 # Single deploy job since we're just deploying |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
25 deploy: |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
26 environment: |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
27 name: github-pages |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
28 url: ${{ steps.deployment.outputs.page_url }} |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
29 runs-on: ubuntu-latest |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
30 steps: |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
31 - name: Checkout |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
32 uses: actions/checkout@v3 |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
33 - name: Setup Pages |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
34 uses: actions/configure-pages@v2 |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
35 - name: Upload artifact |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
36 uses: actions/upload-pages-artifact@v1 |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
37 with: |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
38 # Upload entire repository |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
39 path: '.' |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
40 - name: Deploy to GitHub Pages |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
41 id: deployment |
09fffbf82d4f
Move to GitHub Actions for Pages
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
42 uses: actions/deploy-pages@v1 |