Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5 from JerryKhw/main
Browse files Browse the repository at this point in the history
jnsougata authored Apr 8, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 717d7cc + a8c03c9 commit 76f8ab5
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Deta Space Deployment Github Action
uses: neobrains/space-deployment-github-action@v0.3
uses: neobrains/space-deployment-github-action@v0.5
with:
access_token: ${{ secrets.ACCESS_TOKEN }}
project_id: ${{ secrets.PROJECT_ID }}
8 changes: 5 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -54,15 +54,17 @@ runs:
shell: script -q -e -c "bash {0}"
run: |
cd ${{ inputs.project_directory }}
space push --id "${{ inputs.project_id }}"
space link --id "${{ inputs.project_id }}"
space push
- name: Create a release on Deta Space
if: ${{ inputs.space_release == 'true' }}
shell: script -q -e -c "bash {0}"
run: |
cd ${{ inputs.project_directory }}
space link --id "${{ inputs.project_id }}"
if [[ ${{ inputs.list_on_discovery }} == true ]]; then
space release --id "${{ inputs.project_id }}" --version "${{ inputs.release_version }}" --listed --confirm
space release --version "${{ inputs.release_version }}" --listed --confirm
else
space release --id "${{ inputs.project_id }}" --version "${{ inputs.release_version }}" --confirm
space release --version "${{ inputs.release_version }}" --confirm
fi

0 comments on commit 76f8ab5

Please sign in to comment.