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