Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netsuite api release 2024 07 01 #617

Merged
merged 6 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,37 @@ 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'
run: |
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
Expand Down Expand Up @@ -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
git push origin master
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,7 @@ Django Rest Framework API for Fyle Netsuite Integration.

OK
Destroying test database for alias 'default'...
```



```
Loading