ArgoCD対応 #123
Workflow file for this run
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: CD for PR | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
- labeled | |
- unlabeled | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
prepare: | |
if: github.event.pull_request.draft == false | |
timeout-minutes: 60 | |
runs-on: | |
- ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Setup asdf | |
uses: asdf-vm/actions/[email protected] | |
continue-on-error: true | |
- name: install ffmpeg dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y nasm | |
- name: Cache asdf | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.asdf | |
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }} | |
- name: asdf install | |
uses: asdf-vm/actions/[email protected] | |
ci: | |
uses: ./.github/workflows/ci.yml | |
secrets: inherit | |
needs: prepare |