Skip to content

revert sodium description #407

revert sodium description

revert sodium description #407

Workflow file for this run

# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages
on:
push:
branches: ["website", "1.19", "1.19_plus", "1.19_modded", "1.20", "1.20_plus", "1.20_modded"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: import website
uses: actions/checkout@v2
with:
ref: "website"
- name: import 1.19
uses: actions/checkout@v3
with:
ref: "1.19"
path: cdn/1.19
clean: false
- name: import 1.19 - clean
run: rm -rf cdn/1.19/.git
- name: import 1.20
uses: actions/checkout@v3
with:
ref: "1.20"
path: cdn/1.20
clean: false
- name: import 1.20 - clean
run: rm -rf cdn/1.20/.git
- name: import 1.19_plus
uses: actions/checkout@v3
with:
ref: "1.19_plus"
path: cdn/1.19_plus
clean: false
- name: import 1.19_plus - clean
run: rm -rf cdn/1.19_plus/.git
- name: import 1.20_plus
uses: actions/checkout@v3
with:
ref: "1.20_plus"
path: cdn/1.20_plus
clean: false
- name: import 1.20_plus - clean
run: rm -rf cdn/1.20_plus/.git
- name: import 1.19_modded
uses: actions/checkout@v3
with:
ref: "1.19_modded"
path: cdn/1.19_modded
clean: false
- name: import 1.19_modded - clean
run: rm -rf cdn/1.19_modded/.git
- name: import 1.20_modded
uses: actions/checkout@v3
with:
ref: "1.20_modded"
path: cdn/1.20_modded
clean: false
- name: import 1.20_modded - clean
run: rm -rf cdn/1.20_modded/.git
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2