-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joshua T Kalis
committed
Sep 12, 2024
1 parent
da7ccf4
commit b60d411
Showing
2 changed files
with
6 additions
and
16 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,9 @@ jobs: | |
check: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: denoland/[email protected] | ||
with: | ||
deno-version: v1.x # Run with latest stable Deno. | ||
- uses: denoland/[email protected] | ||
|
||
- name: Run tests | ||
run: deno task cover |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,35 +29,27 @@ jobs: | |
|
||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: denoland/[email protected] | ||
with: | ||
deno-version: v1.x # Run with latest stable Deno. | ||
- uses: denoland/[email protected] | ||
|
||
- name: Run tests | ||
run: deno task cover | ||
|
||
- name: Build site files | ||
run: deno task build | ||
|
||
- name: Compile CSS | ||
uses: gha-utilities/[email protected] | ||
with: | ||
source: styles/kalisjoshua.scss | ||
destination: ./docs/css/kalisjoshua.css | ||
|
||
- name: Create archive | ||
shell: bash | ||
run: tar --directory ./docs/ -cvf "$RUNNER_TEMP/artifact.tar" . | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: github-pages | ||
path: ${{ runner.temp }}/artifact.tar | ||
retention-days: 1 | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v1 | ||
uses: actions/deploy-pages@v4 |