Skip to content

Commit

Permalink
github pages test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragzouken committed May 25, 2024
1 parent ccee8a9 commit 73b7eef
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
Expand All @@ -15,3 +14,14 @@ jobs:
node-version: '20.x'
- run: npm install pug-cli -g
- run: pug --pretty -o dist --basedir src -- src/index.pug

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: deploy to github pages
id: deployment
uses: actions/deploy-pages@v1

0 comments on commit 73b7eef

Please sign in to comment.