diff --git a/.forgejo/workflows/demo.yml b/.forgejo/workflows/demo.yml index 5913aea..f7eabb5 100644 --- a/.forgejo/workflows/demo.yml +++ b/.forgejo/workflows/demo.yml @@ -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 \ No newline at end of file + - 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 }}" \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..62c8935 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea/ \ No newline at end of file