Skip to content

Commit

Permalink
Merge pull request #3 from reednel/develop
Browse files Browse the repository at this point in the history
update workflows
  • Loading branch information
Reed Nelson authored Aug 6, 2023
2 parents 6528787 + 2515324 commit 4582967
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Deploy to GitHub Pages
name: Build and Deploy to GitHub Pages

on:
# Trigger the workflow every time you push to the `main` branch
push:
branches: [ main, develop, template ]
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:

Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test Build

on:
push:
branches: [ develop, template ]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v3
- name: Install, build, and upload your site
uses: withastro/action@v0
with:
path: .
node-version: 18
package-manager: npm

0 comments on commit 4582967

Please sign in to comment.