Stores username/email in secrets

This commit is contained in:
James Ives 2020-12-14 10:31:54 -05:00
parent 0da20f04b8
commit 27009d7a96
2 changed files with 7 additions and 8 deletions

View File

@ -1,5 +1,4 @@
name: "CodeQL" name: "CodeQL"
on: on:
push: push:
branches: branches:

View File

@ -1,4 +1,4 @@
name: Land production js and modules name: Deploy Production Dependencies and Code
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
@ -35,16 +35,16 @@ jobs:
yarn install yarn install
yarn build yarn build
- name: Production node_modules - name: Install Production node_modules
run: | run: |
yarn install --production yarn install --production
- name: Commit and push - name: Commit and Push
# keep the run green if the commit fails for the lack of changes # Keep the run green if the commit fails for the lack of changes
continue-on-error: True continue-on-error: True
run: | run: |
git config user.email "iam@jamesiv.es" git config user.email "${{ secrets.GIT_CONFIG_EMAIL }}"
git config user.name "James Ives" git config user.name "${{ secrets.GIT_CONFIG_NAME }}"
git add . git add .
git commit -m"Deploy production js code for ${{ github.sha }}" git commit -m "Deploy Production Code for Commit ${{ github.sha }} 🚀"
git push git push