Skip to content

Commit cdfa716

Browse files
authored
Merge pull request #9 from manvil95/develop
Develop
2 parents 6676b50 + eba91b6 commit cdfa716

3 files changed

Lines changed: 49 additions & 0 deletions

File tree

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/demo/* export-ignore
2+
.gitignore export-ignore
3+
.github/* export-ignore

.github/workflows/release.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
on:
2+
push:
3+
tags:
4+
- "*"
5+
6+
name: Create and Publish release
7+
8+
jobs:
9+
build:
10+
name: Create Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Get Repo Name
17+
id: get_repo_name
18+
run: |
19+
# Extract repo name from GITHUB_REPOSITORY variable
20+
repo_fullname="${{ github.repository }}"
21+
repo_name="${repo_fullname##*/}"
22+
echo "REPO_NAME=${repo_name}" >> $GITHUB_ENV
23+
24+
- name: Get Tag Name
25+
id: get_tag_name
26+
run: |
27+
# Extract tag or branch name from GITHUB_REF
28+
tag_name="${{ github.ref }}"
29+
tag_name="${tag_name#refs/tags/}"
30+
echo "TAG_NAME=${tag_name}" >> $GITHUB_ENV
31+
32+
- name: Create Release
33+
run: |
34+
echo "Repository Name: $REPO_NAME"
35+
echo "Tag Name: $TAG_NAME"
36+
git archive --format zip --prefix="${REPO_NAME}/" --output "${REPO_NAME}-${TAG_NAME}.zip" HEAD
37+
echo "REPO_NAME=${REPO_NAME}" >> $GITHUB_ENV
38+
echo "TAG_NAME=${TAG_NAME}" >> $GITHUB_ENV
39+
40+
- name: Upload Release
41+
uses: softprops/action-gh-release@v1
42+
with:
43+
files: "${{ env.REPO_NAME }}-${{ env.TAG_NAME }}.zip"

styles.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*--------------------------------------------------*/
2+
/*------------------ V A R I A B L E S -----------*/
3+
/*--------------------------------------------------*/
14
:root {
25
--light-background-color: #f2f7fd; /* Tono más claro para el fondo */
36
--text-color: #333; /* Color de texto primario */

0 commit comments

Comments
 (0)