Skip to content

Commit aec39b4

Browse files
committed
Automatically generate orm-deploy Release associated with Deploy to OCI button
1 parent 0370182 commit aec39b4

File tree

3 files changed

+6
-71
lines changed

3 files changed

+6
-71
lines changed

.github/workflows/action-latest-release.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,16 @@ jobs:
1414
publish_artifact:
1515
name: 'Publish Artifact as Latest Release'
1616
runs-on: ubuntu-latest
17-
defaults:
18-
run:
19-
shell: bash
20-
working-directory: build-orm
2117
steps:
2218
- uses: actions/checkout@v2
23-
- name: 'Generate ORM Stack zip file'
19+
- name: 'Generate OCI ORM Stack zip file'
2420
run: |
25-
pwd
21+
cd ${{ github.workspace }}/build-orm
2622
sh -x build.sh
27-
ls -la
28-
- name: 'Upload Artifact'
23+
- name: 'Generate pre-release for ORM click to deploy button'
2924
uses: eine/tip@master
3025
with:
3126
token: ${{ secrets.GITHUB_TOKEN }}
32-
tag: 'latest'
27+
tag: 'orm-deploy'
3328
files: |
34-
./*.zip
29+
${{ github.workspace }}/build-orm/orm.zip

.github/workflows/build-simple-orm.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Archive: dist/oci-github-actions-runner-orm.zip
8080

8181
Adding a GitHub Actions self-hosted runner typically requires that you download, configure, and execute the GitHub Actions Runner. By deploying this Stack, you are downloading and configuring the GitHub Actions Runner, you agree to the [GitHub Terms of Service](https://docs.github.com/github/site-policy/github-terms-of-service) or [GitHub Corporate Terms of Service](https://docs.github.com/github/site-policy/github-corporate-terms-of-service), as applicable.
8282

83-
You can deploy the GitHub Actions self-hosted direct into your Oracle Cloud Infrastructure tenancy by clicking on [![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://console.us-phoenix-1.oraclecloud.com/resourcemanager/stacks/create?region=home&zipUrl=https://github.com/oracle-quickstart/oci-github-actions-runner/releases/latest/download/oci-github-runner-orm.zip). Alternativelly, you can deploy the zip file you previously generated based on the instructions below:
83+
You can deploy the GitHub Actions self-hosted direct into your Oracle Cloud Infrastructure tenancy by clicking on [![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://console.us-phoenix-1.oraclecloud.com/resourcemanager/stacks/create?region=home&zipUrl=https://github.com/oracle-quickstart/oci-github-actions-runner/releases/download/orm-deploy/orm.zip). Alternativelly, you can deploy the zip file you previously generated based on the instructions below:
8484

8585
1. Click on [Create Stack](https://cloud.oracle.com/resourcemanager/stacks/create) to Oracle Cloud Infrastructure to import the zip file.
8686
> `Home > Developer Services > Resource Manager > Stacks > Create Stack`

0 commit comments

Comments
 (0)