File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy static content to Pages
2+
3+ on :
4+ release :
5+ types : [published]
6+ workflow_dispatch :
7+
8+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
15+ # Cancel any in-progress runs.
16+ concurrency :
17+ group : ' pages'
18+ cancel-in-progress : true
19+
20+ jobs :
21+ deploy :
22+ environment :
23+ name : github-pages
24+ url : ${{ steps.deployment.outputs.page_url }}
25+ runs-on : ubuntu-latest
26+
27+ steps :
28+ - name : Checkout repository
29+ uses : actions/checkout@v4
30+
31+ - name : Install Node.js
32+ uses : actions/setup-node@v4
33+ with :
34+ node-version : 22
35+
36+ - name : Install dependencies
37+ run : npm ci
38+
39+ - name : Build Astro site
40+ run : npm run build
41+
42+ - name : Setup Pages
43+ uses : actions/configure-pages@v5
44+
45+ - name : Upload artifact
46+ uses : actions/upload-pages-artifact@v3
47+ with :
48+ path : ' ./dist'
49+
50+ - name : Deploy to GitHub Pages
51+ id : deployment
52+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 11name : Scan Devcontainer Image
22
33permissions :
4- actions : read
5- security-events : write
4+ contents : read
65
76on :
87 push :
98 branches :
109 - main
1110 - master
12- pull_request : null
11+ paths :
12+ - .devcontainer/Dockerfile
13+ pull_request :
14+ paths :
15+ - .devcontainer/Dockerfile
1316
1417jobs :
1518 scan-devcontainer :
1619 name : Scan Devcontainer Image
1720
18- uses : <your-username>/<your-repo> /.github/workflows/docker-image-verification.yml@main
21+ uses : Vianpyro/Template /.github/workflows/docker-image-verification.yml@main
1922 with :
2023 image_name : devcontainer
2124 dockerfile_path : ./Dockerfile
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3030 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3131 VALIDATE_ALL_CODEBASE : false
3232 FILTER_REGEX_EXCLUDE : ' (.devcontainer/Dockerfile|.github/pull_request_template.md|.github/ISSUE_TEMPLATE/*.md)'
33+ VALIDATE_TYPESCRIPT_STANDARD : false
You can’t perform that action at this time.
0 commit comments