Skip to content

Commit

Permalink
fix: run tests on every push; deploy on main
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscobmacedo committed Jan 19, 2024
1 parent 0c3d46f commit 8d43f91
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflow.yml → .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Deploy static content to Pages

on:
push:
branches: ['main']
workflow_dispatch:
on: [push]

permissions:
contents: read
Expand Down Expand Up @@ -32,6 +29,7 @@ jobs:

deploy:
needs: test
if: github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 8d43f91

Please sign in to comment.