Add GH action to verify all files in /client are also in /generated (… #2
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: Push Artifact - C++ | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "sync-todo/v2/generated/cpp/**" | |
jobs: | |
push: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/push-to-artifact-repo | |
with: | |
source: ./sync-todo/v2/generated/cpp | |
destination_repo: mongodb/template-app-cpp-todo.git | |
access_token: ${{ secrets.ARTIFACT_REPO_ACCESS_TOKEN }} |