mirror of
https://github.com/numtide/treefmt.git
synced 2024-10-27 01:44:13 +03:00
Merge pull request #3 from numtide/fix/ci-deploy-pages-on-main
ci: only deploy github pages on main
This commit is contained in:
commit
b7458e6530
3
.github/workflows/gh-pages.yml
vendored
3
.github/workflows/gh-pages.yml
vendored
@ -4,8 +4,6 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- staging
|
||||
- trying
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
@ -43,6 +41,7 @@ jobs:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
name: deploy
|
||||
if: github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
|
Loading…
Reference in New Issue
Block a user