Skip to content

Commit 9613421

Browse files
committed
initial commit
1 parent c9f49bb commit 9613421

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/deploy-pages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Deploy Expo Web to GitHub Pages
22
on:
33
push:
4+
branches: [ "main" ]
45
workflow_dispatch:
56
permissions:
67
contents: read
@@ -11,6 +12,7 @@ concurrency:
1112
cancel-in-progress: true
1213
jobs:
1314
build:
15+
if: github.ref == 'refs/heads/main'
1416
runs-on: ubuntu-latest
1517
steps:
1618
- name: Checkout
@@ -34,6 +36,7 @@ jobs:
3436
with:
3537
path: frontend/app/dist
3638
deploy:
39+
if: github.ref == 'refs/heads/main'
3740
needs: build
3841
runs-on: ubuntu-latest
3942
environment:

.github/workflows/frontend.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4
18-
1918
- name: Use Node.js 20
2019
uses: actions/setup-node@v4
2120
with:

0 commit comments

Comments
 (0)