Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 18 additions & 10 deletions .github/workflows/__cla-gist-replicator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,30 @@ jobs:
environment:
name: cla-gist
url: https://gist.github.com/${{ vars.CLA_GIST_ID }}
strategy: # the action doesn't currently support multiple files
fail-fast: true # false to run all, true to fail entire job if any fail
max-parallel: 1 # let's update files one by one to avoid complications
matrix:
include:
- file_path: 'legal/cla/CLA'
- file_path: 'legal/cla/CLA-entity'
- file_path: 'legal/cla/metadata'
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Deploy Gist
- name: Deploy CLA (indivdual)
uses: exuanbo/actions-deploy-gist@47697fceaeea2006a90594ee24eb9cd0a1121ef8 # v1.1.4
with:
token: ${{ secrets.GH_BOT_TOKEN }}
gist_id: ${{ vars.CLA_GIST_ID }}
file_path: ${{ matrix.file_path }}
file_path: legal/cla/CLA
file_type: text

- name: Deploy CLA (entity)
uses: exuanbo/actions-deploy-gist@47697fceaeea2006a90594ee24eb9cd0a1121ef8 # v1.1.4
with:
token: ${{ secrets.GH_BOT_TOKEN }}
gist_id: ${{ vars.CLA_GIST_ID }}
file_path: legal/cla/CLA-entity
file_type: text

- name: Deploy CLA (metadata)
uses: exuanbo/actions-deploy-gist@47697fceaeea2006a90594ee24eb9cd0a1121ef8 # v1.1.4
with:
token: ${{ secrets.GH_BOT_TOKEN }}
gist_id: ${{ vars.CLA_GIST_ID }}
file_path: legal/cla/metadata
file_type: text