OpenDataCube -> Xarray / Dask #301
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish openeo.org | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: "0 0 * * 1" # Weekly run to refresh external resources | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' # https://github.com/vuejs/vue-cli/issues/6770 | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- run: npm install | |
- run: npm run build | |
- run: cp CNAME .vuepress/dist/CNAME | |
- run: cp -ap redirects/. .vuepress/dist | |
- run: cp -ap .vuepress/dist/assets/documentation/. .vuepress/dist/documentation | |
- run: rm -r .vuepress/dist/assets/documentation | |
- uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: .vuepress/dist | |
user_name: 'openEO CI' | |
user_email: [email protected] |