Merge pull request #3 from eshwanthkartitr/v2 #11
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: CI/CD | ||
on: | ||
push: | ||
branches: [ main, v2 ] | ||
pull_request: | ||
branches: [ main, v2 ] | ||
workflow_dispatch: | ||
jobs: | ||
prepare: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Fetch Dockerfile | ||
run: | | ||
curl -O https://raw.githubusercontent.com/Abhinav-ark/placement_tracker_cicd/main/dockerfiles/placement_tracker_web/Dockerfile | ||
- name: Cache Dockerfile | ||
uses: actions/cache@v3 | ||
with: | ||
path: ./Dockerfile | ||
key: ${{ runner.os }}-dockerfile-${{ github.sha }} | ||
main-workflow: | ||
Check failure on line 28 in .github/workflows/ci-cd.yml GitHub Actions / CI/CDInvalid workflow file
|
||
needs: prepare | ||
uses: Abhinav-ark/placement_tracker_cicd/.github/workflows/placement_tracker_web_deploy.yml@main | ||
with: | ||
branch: ${{ github.ref }} | ||
secrets: | ||
BACKEND_URL: ${{ secrets.BACKEND_URL }} | ||
WIF_PROVIDER: ${{ secrets.WIF_PROVIDER }} | ||
WIF_SERVICE_ACCOUNT: ${{ secrets.WIF_SERVICE_ACCOUNT }} |