Skip to content

print env

print env #27

Workflow file for this run

name: Build and Deploy nopwd website
on:
push:
branches:
- main
jobs:
deploy-ci:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout Repository
uses: actions/checkout@main
- name: ⬇️ Installing dependencies
run: npm i
- name: ⬇️ Building nopwd website
run: npm run build
env:
GITHUB_SHA: ${{ GITHUB_SHA }}

Check failure on line 21 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / Build and Deploy nopwd website

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 21, Col: 23): Unrecognized named-value: 'GITHUB_SHA'. Located at position 1 within expression: GITHUB_SHA
- name: 📥 Installing firebase command tool
run: sudo npm install -g firebase-tools
- name: 🤫 building glcoud credential.json
run: echo ${{ secrets.DEPLOYMENT_KEY }} | base64 --decode > ./credential.json
- name: 📦 deploy nopwd.rocks
run: |
firebase use --add nopwdio
firebase target:apply hosting rocks nopwd-rocks
firebase deploy --only hosting:rocks
env:
GOOGLE_APPLICATION_CREDENTIALS: ./credential.json
- name: 🤫 removing credential.json
run: rm ./credential.json