Test: build .env file in github workflow #28
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
name: 🚀 Publish | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
publish_job: | ||
name: '🚀 Publish' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 📥 Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: 🧱 Setup node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
- name: 📦 Install packages | ||
run: npm install | ||
- name: Make .env file | ||
uses: SpicyPizza/[email protected] | ||
with: | ||
envkey_PUBLIC_WEB3_STORAGE_KEY: ${{ ${{ secrets.PUBLIC_WEB3_STORAGE_KEY }} }} | ||
Check failure on line 22 in .github/workflows/publish.yml GitHub Actions / 🚀 PublishInvalid workflow file
|
||
directory: . | ||
file_name: .env | ||
fail_on_empty: false | ||
sort_keys: false | ||
- name: 🏗 Build assets | ||
run: npm run build | ||
- name: 🚀 Publish to production | ||
uses: fission-suite/publish-action@v1 | ||
with: | ||
machine_key: ${{ secrets.FISSION_MACHINE_KEY }} | ||
app_url: fundring.fission.app | ||
build_dir: ./build |