mirror of https://gitlab.com/fscarmen/test.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
747 B
29 lines
747 B
name: "upload-artifact"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
Building:
|
|
runs-on: ubuntu-latest
|
|
name: "upload-artifact"
|
|
env:
|
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
|
DOCKERHUB_REPOSITORY: ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO }}:latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- run: mkdir -p path/to/artifact
|
|
|
|
- run: echo hello > path/to/artifact/world.txt
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: my-artifact
|
|
path: path/to/artifact/world.txt
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: Apply php-cs-fixer changes
|
|
|