Skip to content

Commit

Permalink
I dont know what im doing
Browse files Browse the repository at this point in the history
  • Loading branch information
i-lq committed Sep 2, 2024
1 parent 45d5410 commit f1c335b
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy static content to Pages

on:
push:
branches: ["main"]
branches: ["master"]
workflow_dispatch:
permissions:
contents: read
Expand All @@ -17,18 +17,25 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install, build, and upload your site output
- name: Install, build
uses: withastro/action@v2
with:
node-version: 20.3.0

deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit f1c335b

Please sign in to comment.