forked from Egypt-Open-Source/WebGetter
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (32 loc) · 945 Bytes
/
webgetter_basic.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Basic Website Source Code
on:
workflow_dispatch:
inputs:
WEBSITE_LINK_BASIC:
description: 'Get basic Website Source HTML,CSS,JavaScript'
required: true
jobs:
build:
name: WebGetter
runs-on: ubuntu-20.04
steps:
- name: Check Out
uses: actions/checkout@v4
- name: Prepare the environment
run: |
sudo apt update
sudo apt -y install wget git bash zip
- name: Get Basic Website Source
run: |
wget -p -k ${{ github.event.inputs.WEBSITE_LINK_BASIC }}
ls
zip -r website.zip *
- name: Upload Basic Souree to Release
uses: softprops/action-gh-release@master
with:
files: |
/home/runner/work/WebGetter/WebGetter/*.zip
name: Basic Website Source Code
tag_name: ${{ github.run_id }}
body: |
Website Link: ${{ github.event.inputs.WEBSITE_LINK_BASIC }}