🔄️Sync Issue To PR #15
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: GIT TESTING | |
defaults: | |
run: | |
shell: pwsh | |
on: | |
workflow_dispatch: | |
jobs: | |
generate_api_docs: | |
name: Generate API Docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.CICD_TOKEN }} | |
persist-credentials: false | |
- name: Create Commit | |
run: | | |
git config --global user.email "${{ vars.GIT_CONFIG_EMAIL }}"; | |
git config --global user.name "Velaptor Docs Github Actions - (On behalf of Calvin Wilkinson)"; | |
# git remote set-url origin https://github.com/${{ vars.ORGANIZATION_NAME }}/${{ vars.PROJECT_NAME }}.git | |
# git remote set-url origin [email protected]:${{ vars.ORGANIZATION_NAME }}/${{ vars.PROJECT_NAME }}.git | |
git add *.*; | |
git commit --allow-empty -m "Test Commit"; | |
git push; |