Skip to content

chore: remove compose button (#216) #12

chore: remove compose button (#216)

chore: remove compose button (#216) #12

name: Netlify Staging Deploy
on:
push:
branches: [main]
paths:
- 'dalchini/**'
env:
REACT_APP_ZIMBRA_URL: ${{secrets.REACT_APP_ZIMBRA_URL}}
jobs:
netlify-stage-deploy:
name: Netlify Staging Deploy
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: dalchini
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Node v16
uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Create .env File
run: |
touch .env
echo REACT_APP_ZIMBRA_URL=$REACT_APP_ZIMBRA_URL >> .env
- name: Install Dependencies
run: yarn install
- name: Build React WebApp
run: yarn build
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v1.1
with:
publish-dir: 'dalchini/build'
github-token: ${{ secrets.GITHUB_TOKEN }}
enable-pull-request-comment: false
enable-commit-comment: false
overwrites-pull-request-comment: false
enable-commit-status: false
deploy-message: Stage Deploy - ${{ github.event.pull_request.title }}
alias: staging
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}