diff --git a/.github/workflows/hulk_deployment.yml b/.github/workflows/fyle_hulk_deployment.yml similarity index 92% rename from .github/workflows/hulk_deployment.yml rename to .github/workflows/fyle_hulk_deployment.yml index 65717c93..32448b3c 100644 --- a/.github/workflows/hulk_deployment.yml +++ b/.github/workflows/fyle_hulk_deployment.yml @@ -10,24 +10,26 @@ on: - completed jobs: - hulk_deploy: + fyle_hulk_deploy: runs-on: ubuntu-latest environment: Staging steps: - uses: actions/checkout@v2 with: - submodules: true + submodules: true - name: Initialize and update submodules run: | git submodule sync --recursive git submodule update --init --recursive git submodule foreach git fetch --all + sleep 5 - name: Run CI id: run-ci run: | - echo "Running ci" + echo "Running CI" + sleep 5 - name: Get Release branch name if workflow_run if: github.event_name == 'workflow_run' @@ -35,10 +37,10 @@ jobs: echo "release_branch=netsuite_api_release_$(date +%Y_%m_%d)" >> $GITHUB_ENV - name: Checkout to Release branch if workflow_run - uses: actions/checkout@v4 + uses: actions/checkout@v2 if: github.event_name == 'workflow_run' with: - ref: ${{env.release_branch}} + ref: ${{ env.release_branch }} - name: Verify current branch run: git branch --show-current @@ -86,4 +88,4 @@ jobs: git commit -m "Deployed fyle_netsuite-api:$NEW_TAG to hulk" git remote set-url origin https://x-access-token:${{ secrets.DEPLOY_GIT_ACCESS_TOKEN }}@github.com/${{ vars.STAGING_DEPLOY_REPO }} git pull origin master - git push origin master \ No newline at end of file + git push origin master diff --git a/README.md b/README.md index 0eab1127..b4a86bd4 100644 --- a/README.md +++ b/README.md @@ -118,4 +118,7 @@ Django Rest Framework API for Fyle Netsuite Integration. OK Destroying test database for alias 'default'... - ``` \ No newline at end of file + + + + ```