Skip to content

Commit

Permalink
updates (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalisjoshua authored Sep 12, 2024
1 parent da7ccf4 commit 0591782
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ jobs:
check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: denoland/setup-deno@v1.1.1
with:
deno-version: v1.x # Run with latest stable Deno.
- uses: denoland/setup-deno@v1.4.1

- name: Run tests
run: deno task cover
16 changes: 4 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,35 +29,27 @@ jobs:

runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: denoland/setup-deno@v1.1.1
with:
deno-version: v1.x # Run with latest stable Deno.
- uses: denoland/setup-deno@v1.4.1

- name: Run tests
run: deno task cover

- name: Build site files
run: deno task build

- name: Compile CSS
uses: gha-utilities/sass-build@v0.5.1
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

0 comments on commit 0591782

Please sign in to comment.