diff --git a/.github/workflows/copy_docs.yml b/.github/workflows/copy_docs.yml old mode 100644 new mode 100755 index c0579f3..35fd1e5 --- a/.github/workflows/copy_docs.yml +++ b/.github/workflows/copy_docs.yml @@ -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: @@ -9,8 +9,7 @@ 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 @@ -18,13 +17,12 @@ jobs: 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 \ No newline at end of file diff --git a/.github/workflows/sample_problem_docs.yml b/.github/workflows/sample_problem_docs.yml new file mode 100644 index 0000000..23df00f --- /dev/null +++ b/.github/workflows/sample_problem_docs.yml @@ -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 \ No newline at end of file diff --git a/README.md b/README.md old mode 100644 new mode 100755