mirror of
https://github.com/projectbraf/braf_factions.git
synced 2026-06-13 12:23:28 +00:00
adicionado publish no dev
This commit is contained in:
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@@ -1,9 +1,6 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
pull_request:
|
||||
types: [opened, reopened]
|
||||
|
||||
|
||||
52
.github/workflows/prepublish.yml
vendored
Normal file
52
.github/workflows/prepublish.yml
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
name: Publish
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout the source code
|
||||
uses: actions/checkout@v3
|
||||
- name: Lint (sqflint)
|
||||
uses: arma-actions/sqflint@master
|
||||
continue-on-error: true
|
||||
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout the source code
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup HEMTT
|
||||
uses: arma-actions/hemtt@v1
|
||||
- name: Run HEMTT build
|
||||
run: hemtt release
|
||||
- name: Extract Zipped Mod
|
||||
run: unzip releases/braf_factions-latest.zip -d releases
|
||||
- uses: arma-actions/workshop-upload@v1
|
||||
with:
|
||||
appId: '107410'
|
||||
itemId: ${{ secrets.STEAM_WORKSHOP_ITEM_ID_DEV }}
|
||||
contentPath: releases/@braf_factions
|
||||
changelog: 'Update'
|
||||
env:
|
||||
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
|
||||
STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }}
|
||||
- name: Discord notification
|
||||
uses: tsickert/discord-webhook@v5.3.0
|
||||
with:
|
||||
webhook-url: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
username: Fábio
|
||||
avatar-url: https://s.glbimg.com/jo/g1/f/original/2010/07/07/milhem-cortaztropadeelite-2.jpg
|
||||
embed-title: ${{ github.repository }} ATUALIZADO E PUBLICADO!
|
||||
embed-url: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'
|
||||
embed-description: Commit ${{ github.sha }} - ${{ github.event.head_commit.message }} autorizado e mod (dev) atualizado no Steam Workshop!
|
||||
embed-author-name: ${{ github.actor }}
|
||||
embed-author-url: https://github.com/${{ github.actor }}
|
||||
embed-author-icon-url: https://avatars.githubusercontent.com/${{ github.actor }}
|
||||
embed-footer-icon-url: https://avatars.githubusercontent.com/${{ github.repository_owner }}
|
||||
embed-footer-text: ${{ github.repository_owner }}
|
||||
embed-color: 4849919
|
||||
@@ -3,7 +3,7 @@ O BRAF Factions é uma porção do BRAF destinado a servir de template para mods
|
||||
|
||||
Para começar, é preciso que você:
|
||||
- Tenha uma conta cadastrada no GitHub, caso não tenha, [clique aqui](https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F&source=header-home).
|
||||
- Tenha o Git instalado no seu PC, [download aqui](https://git-scm.com/downloads), recomendo selecionar as opções de permitir adicionar as ações de Git Bash e Git GUI quando solicitado no instalador.
|
||||
- Tenha o Git instalado, [download aqui](https://git-scm.com/downloads), recomendo selecionar as opções de permitir adicionar as ações de Git Bash e Git GUI quando solicitado no instalador.
|
||||
|
||||
## O que é versionamento
|
||||
Ok, instalei tudo o que eu acho que preciso, mas o que exatamente é Git? bem, para começar, imagine que você está de volta ao seu ensino fundamental, e a professora tetéia passou uma tarefa que deve ser entregue em uma pasta contendo vários arquivos interdependentes a ser resolvida por você, seu amigo 1 e seu outro amigo 2. Antes de começarem, vocês estarão longe da conclusão da tarefa, que assim ilustraremos:
|
||||
|
||||
Reference in New Issue
Block a user