Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ais-one committed Sep 14, 2023
1 parent 62edb25 commit d49c1a5
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-cr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
default: ''
required: false
env:
CR_IMAGENAME: ${{ vars.CR_IMAGENAME || github.event.inputs.cr_imagename || github.event.repository.name }}
CR_IMAGENAME: ${{ github.event.inputs.cr_imagename || vars.CR_IMAGENAME || github.event.repository.name }}
CR_PASSWORD: ${{ secrets.CR_PASSWORD }}
CR_USERNAME: ${{ secrets.CR_USERNAME }}
CR_HOST: ${{ vars.CR_HOST }}
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This is a basic workflow that is manually triggered
# try to use as much shell scripting a possible
# actions appear from default branch - https://gh.neting.ccmunity/t/workflow-files-only-picked-up-from-master/16129/2
name: Test Action

on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
secret_key:
description: 'key to required secret'
default: ''
required: true
env:
SECRET_KEY: ${{ github.event.inputs.secret_key }}
jobs:
test-action:
name: Running Test Action
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Run commands
run: |
echo `node -v`
echo The Key ${{ secrets.CR_IMAGENAME }}

0 comments on commit d49c1a5

Please sign in to comment.