Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Github actions web release #10

Github actions web release

Github actions web release #10

Workflow file for this run

name: Deploy Expo Web to Pages
on:
push:
branches: ["master"] # or your default branch
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Install dependencies
run: bun install
- name: Build Expo Web
run: bunx expo export -p web
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4