Skip to content

Commit a106cb0

Browse files
committed
Add workflows and TODO docs
1 parent 1662cdc commit a106cb0

4 files changed

Lines changed: 69 additions & 0 deletions

File tree

.github/workflows/cd.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: CD
2+
3+
on:
4+
push:
5+
tags:
6+
- '**'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release:
13+
name: Draft Release
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v6
18+
with:
19+
path: d4_queue
20+
sparse-checkout: |
21+
docs
22+
server
23+
CHANGELOG.md
24+
CONTRIBUTING.md
25+
LICENSE
26+
README.md
27+
SECURITY.md
28+
fxmanifest.lua
29+
sparse-checkout-cone-mode: false
30+
31+
- name: Archive
32+
shell: bash
33+
run: |
34+
rm -rf ./d4_queue/.git
35+
zip -r d4_queue.zip ./d4_queue/
36+
37+
- name: Draft release
38+
uses: softprops/action-gh-release@v2
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
with:
42+
draft: true
43+
files: |
44+
./*.zip

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
lint:
14+
name: Lint
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v6
19+
20+
- name: Lint
21+
uses: iLLeniumStudios/fivem-lua-lint-action@v2
22+
with:
23+
fail_on_warnings: "true"

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TODO

docs/user-guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TODO

0 commit comments

Comments
 (0)