Update map_view.rs #49
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: Build and Deploy | |
on: | |
push: | |
branches: [ "main" ] | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: windows-latest # The first job utilizes windows-latest | |
steps: | |
- name: Checkout 🛎️ | |
with: | |
submodules: true | |
uses: actions/checkout@v3 | |
- run: cargo build --release | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: windows | |
path: target/release/tes3edit.exe | |
deploy: | |
concurrency: ci-${{ github.ref }} | |
needs: [build] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download Artifacts 🔻 # The built project is downloaded into the 'site' folder. | |
uses: actions/download-artifact@v3 | |
with: | |
name: windows | |
path: site | |
- name: Display structure of downloaded files | |
run: ls -R | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: 'site' # The deployment folder should match the name of the artifact. Even though our project builds into the 'build' folder the artifact name of 'site' must be placed here. | |
clean-exclude: | | |
*.md | |
assets | |