portfolio_leptos/.gitea/workflows/deploy.yml

30 lines
608 B
YAML
Raw Normal View History

2023-11-20 21:42:19 +01:00
name: deploy
2023-11-20 21:39:37 +01:00
2023-11-20 21:42:19 +01:00
on:
push:
branches: [ main ]
2023-11-20 21:39:37 +01:00
jobs:
my-job:
runs-on: ubuntu-latest
steps:
2023-11-20 21:50:29 +01:00
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt
- name: Add wasm32-unknown-unknown
run: rustup target add wasm32-unknown-unknown
- name: Add wasm32-unknown-unknown
run: cargo install cargo-leptos
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 19
2023-11-20 21:39:37 +01:00
- name: my-step
2023-11-20 21:44:59 +01:00
run: echo "Hello World 2!"