Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
update


update


update
  • Loading branch information
pstaabp committed May 5, 2023
1 parent ba6c5c1 commit f3a324c
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/copy_docs.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions

name: Copy PG docs
name: Copy Docs

# Controls when the workflow will run
on:
Expand All @@ -9,22 +9,20 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
copy-pg-docs:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!
with:
repository: pstaabp/pg
ref: sample-problems-doc
path: pg

# Runs a set of commands using the runners shell
- name: Run a multi-line script
- name: list files
run: |
echo Add other actions to build,
echo test, and deploy your project.
ls pg
29 changes: 29 additions & 0 deletions .github/workflows/sample_problem_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow checks out documentation from the pg repository and runs a
# script to build the sample problem documtation

name: Create Sample Problems Docs

# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
copy-pg-docs:
# The type of runner that the job will run on
runs-on: ubuntu-2022.04

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
repository: pstaabp/pg
ref: sample-problems-doc
path: pg

# Runs a set of commands using the runners shell
- name: list files
run: |
ls pg
Empty file modified README.md
100644 → 100755
Empty file.

0 comments on commit f3a324c

Please sign in to comment.