Skip to content

Delete outdated URL

Delete outdated URL #6

name: O'Reilly Artifact Demo Test
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build artifact
run: |
# Replace this with your build commands
echo "Building artifact..."
mkdir artifacts
echo "Hello, World!" > artifacts/my_artifact.txt
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: my-artifact
path: artifacts
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: my-artifact
- name: Display artifact contents
run: |
# Replace this with your deployment commands
cat my-artifact/my_artifact.txt