We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9f49bb commit 9613421Copy full SHA for 9613421
2 files changed
.github/workflows/deploy-pages.yml
@@ -1,6 +1,7 @@
1
name: Deploy Expo Web to GitHub Pages
2
on:
3
push:
4
+ branches: [ "main" ]
5
workflow_dispatch:
6
permissions:
7
contents: read
@@ -11,6 +12,7 @@ concurrency:
11
12
cancel-in-progress: true
13
jobs:
14
build:
15
+ if: github.ref == 'refs/heads/main'
16
runs-on: ubuntu-latest
17
steps:
18
- name: Checkout
@@ -34,6 +36,7 @@ jobs:
34
36
with:
35
37
path: frontend/app/dist
38
deploy:
39
40
needs: build
41
42
environment:
.github/workflows/frontend.yml
@@ -15,7 +15,6 @@ jobs:
uses: actions/checkout@v4
-
19
- name: Use Node.js 20
20
uses: actions/setup-node@v4
21
0 commit comments