Skip to content

Commit

Permalink
adicionado publish no dev
Browse files Browse the repository at this point in the history
  • Loading branch information
valmojr committed Nov 10, 2023
1 parent 46b3efc commit c2049c0
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Build

on:
push:
branches:
- dev
pull_request:
types: [opened, reopened]

Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/prepublish.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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
2 changes: 1 addition & 1 deletion PT_Contributor.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c2049c0

Please sign in to comment.