Skip to content

Commit

Permalink
Add some more
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Nov 21, 2023
1 parent e271655 commit 9074c96
Showing 1 changed file with 45 additions and 2 deletions.
47 changes: 45 additions & 2 deletions docs/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${PYTHON_VERSION}

```
---
Expand All @@ -237,4 +236,48 @@ jobs:
basix: main
petsc_arch: ${PETSC_ARCH}
```
Custom action available
---
### You can use actions across repositories
Example from: [https://github.com/jorgensd/actions](https://github.com/jorgensd/actions/)
```yaml
name: Use a remote action
on:
push:
branches: ["dokken/ci"]
jobs:
test:
runs-on: ubuntu-latest
container: ghcr.io/fenics/dolfinx/dolfinx:nightly
steps:
- name: "Use remote action"
uses: jorgensd/actions/[email protected]
```
---
### Upload data
```yaml
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
path: ${{ env.PUBLISH_DIR }}
if-no-files-found: error
name: documentation
```
---
### Download data
```yaml
- name: Download docs artifact
uses: actions/download-artifact@v3
with:
name: documentation
path: "./public"

```

0 comments on commit 9074c96

Please sign in to comment.