Skip to content

Commit

Permalink
Rework github workflows
Browse files Browse the repository at this point in the history
Change branch to master in deploy workflow

Some more small touches to workflows
  • Loading branch information
jamezrin committed Nov 23, 2021
1 parent e389ef1 commit e31de2f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
@@ -1,11 +1,11 @@
name: 'Build and Deploy'
name: build-and-deploy-images

on:
workflow_run:
types:
- completed
branches: [main]
workflows: ['Check and Test']
branches: [master]
workflows: [update-shrinkwrap-and-test]

concurrency:
group: build-and-upload-images
Expand All @@ -17,7 +17,6 @@ env:
jobs:
build-packages:
runs-on: ${{ matrix.runner }}

strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -76,8 +75,8 @@ jobs:
tags: ${{ steps.compute_vars.outputs.full_image_tag }}

create-manifest:
needs: [build-packages]
runs-on: ubuntu-latest
needs: [build-packages]
strategy:
fail-fast: true
matrix:
Expand Down
@@ -1,16 +1,14 @@
name: 'Check and Test'
name: update-shrinkwrap-and-test

on:
push: {}

jobs:
main:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -22,6 +20,8 @@ jobs:
- name: Install dependencies with shrinkwrap update
run: rush update
- name: Commit and push updated shrinkwrap
continue-on-error: true
if: ${{ !startsWith(github.ref_name, 'renovate/') }}
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
Expand All @@ -32,3 +32,5 @@ jobs:
git remote set-url --push origin $REMOTE_HTTPS_URL
git push -u origin $GITHUB_REF
- name: Rebuild all projects
run: rush rebuild

0 comments on commit e31de2f

Please sign in to comment.