Bump the react-native group in /native_gg with 1 update (#384) #114
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
paths: | |
- 'native_gg/**' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
TURBO_URL: ${{ secrets.TURBO_URL }} | |
TURBO_CODE: ${{ secrets.TURBO_CODE }} | |
defaults: | |
run: | |
working-directory: native_gg | |
permissions: | |
contents: read | |
deployments: write | |
name: Deploy | |
steps: | |
- uses: actions/[email protected] | |
- uses: pnpm/[email protected] | |
with: | |
version: 8.15.1 | |
- name: install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: add .env file | |
run: echo '${{ secrets.CLIENT_SECRETS }}' > .env | |
- name: build | |
run: pnpm expo export -p web | |
- name: deploy website | |
uses: cloudflare/[email protected] | |
with: | |
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
projectName: gg-app | |
directory: native_gg/dist | |
gitHubToken: ${{ secrets.GITHUB_TOKEN }} |