This commit is contained in:
parent
e3dfd7a191
commit
e005ba7231
2 changed files with 11 additions and 20 deletions
|
@ -6,25 +6,15 @@ on:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
BuildAndDeploy:
|
hello_world_job:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
name: A job to say hello
|
||||||
image: git.php.fail/lubiana/container/hugogit
|
|
||||||
steps:
|
steps:
|
||||||
- name: Manually checkout
|
- name: Hello world action step
|
||||||
env:
|
id: hello
|
||||||
REPO: '${{ github.repository }}'
|
uses: https://git.php.fail/lubiana/hello-world-podman@v1
|
||||||
TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
with:
|
||||||
GIT_SERVER: 'git.php.fail'
|
who-to-greet: 'Mona the Octocat'
|
||||||
run: |
|
# Use the output from the `hello` step
|
||||||
git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}/${REPO}.git .
|
- name: Get the output time
|
||||||
git fetch
|
run: echo "The time was ${{ steps.hello.outputs.time }}"
|
||||||
git checkout ${{ github.head_ref }}
|
|
||||||
- name: list
|
|
||||||
run: |
|
|
||||||
env
|
|
||||||
ls
|
|
||||||
pwd
|
|
||||||
ls /opt
|
|
||||||
echo 'hallo' >> /opt/hostedtoolcache/lol.txt
|
|
||||||
cat /opt/hostedtoolcache/lol.txt
|
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.idea/
|
Loading…
Reference in a new issue